<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html>
<html>
<head>
<!-- Standard Meta -->
<c:import url="../common/meda.jsp"></c:import>
<title>网报关网信息解析-${sysDesc}</title>

<link rel="stylesheet" type="text/css"
	href="http://${static_server }/css/semantic.min.css">
<link rel="stylesheet" type="text/css"
	href="http://${static_server }/css/common.css">

<script src="http://${static_server }/js/jquery.min.js"></script>
<script src="http://${static_server }/js/semantic.min.js"></script>
<script src="http://${static_server }/js/common.js"></script>
<script src="//${static_server }/js/title_menu.js"></script>
<script>
	
$(document).ready(function() {
	$('#submitButton1').removeClass('loading');
	$('#form').removeClass('loading');
	$('#submitButton1').click(function(){
    	$('#submitButton1').addClass('loading');
    	$('#form').addClass('loading');
    	$('#form').submit();
    });
	
});
</script>

</head>

<body class="pushable">
	<c:import url="../common/title_menu.jsp"></c:import>
	<div class="pusher">
		<div id="schoolheadsegment"
			class="ui vertical raised masthead segment">
			<div class="ui container">
				<div class="ui breadcrumb">
					<a class="section" href="http://${static_server }/"><i
						class="icon home"></i>首页</a>
					<div class="divider">/</div>
					<div class="active section">网报关网统计信息解析</div>
				</div>
			</div>
			<!-- content container end -->
		</div>

		<div id="mainsegment" class="ui vertical masthead segment">
			<div class="ui container">
				<form id="form" class="ui form segment" action="${ctx}/old/schoolquery.do">
					<h4 class="ui dividing header">查询条件</h4>
					<div class="two fields">
						<div class="required field">
							<label>考生科类</label><select name="clazz" class="ui search dropdown">
								<option value="普通文科">普通文科</option>
								<option value="普通理科">普通理科</option>
								<option value="蒙授理科">蒙授理科</option>
								<option value="蒙授文科">蒙授文科</option>
							</select>
						</div>
						<div class="required field">
							<label>排序方式</label><select name="sort" class="ui search dropdown">
								<option value="1">预计1:1投档最低分</option>
								<option value="2">预计投档最低分</option>
							</select>
						</div>
					</div>
					<h4 class="ui dividing header"></h4>
					<div id="submitButton1" class="ui submit orange button">查询</div>
				</form>
				
			</div>
			<!-- container end -->
		</div>
		
		<div class="ui vertical masthead segment">
		<div class="ui container grid">
			<div class="ui column">
				<c:if test="${not empty msg}" >
				<div class="ui negative message">
				  <i class="close icon"></i>
				  <div class="header">
				    ${msg}
				  </div>
				</div>
				</c:if>
				<table class="ui celled striped  table">
					<thead>
				      <tr>
				        <th>科类</th>
				        <th>院校代码</th>
				        <th>院校名称</th>
				        <th>计划数</th>
				        <th>录取数</th>
				        <th>预计1:1投档最低分</th>
				        <th>投档比例</th>
				        <th>预计投档最低分</th>
				        <th>应投档人数</th>
				        <th>已报人数</th>
				        <th>缺档人数</th>
				      </tr>
			       </thead>
			       <tbody>
			       <c:forEach items="${schools}" var="school">
				      <tr>
				        <td>${school.clazz}</td>
				        <td>${school.school_id}</td>
				        <td><a href="${ctx}/old/realtimecount.do?school_id=${school.school_id}&school_name=${school.school_name}" >${school.school_name}</a></td>
				        <td>${school.plan_num}</td>
				        <td>${school.enrolled_num}</td>
				        <td>${school.yuji1bi1toudangzuidifen}</td>
				        <td>${school.toudangbili}</td>
				        <td>${school.yujitoudangzuidifen}</td>
				        <td>${school.yingtoudangrenshu}</td>
				        <td>${school.yibaorenshu}</td>
				        <td>${school.quedangrenshu}</td>
				      </tr>
				   </c:forEach>
			       </tbody>
				</table>
			</div>
		</div>
		</div>
		
		<!-- segment end -->
		<c:import url="../common/footer.jsp"></c:import>
	</div>
	<!-- pusher end -->
</body>

</html>
